package com.puppet.building182.service;

import com.puppet.building182.pojo.Owner;
import com.puppet.building182.pojo.VO.OwnerVo;

import java.util.List;

public interface OwnerService {
    List<Owner> getOwners(String searchQuery);

    Integer addOwner(Owner owner);

    Integer deleteOwnerById(Integer id);

    Integer deleteOwner(List<Integer> id);

    Integer updateOwner(Owner owner);

   Owner getOwnerById(Integer id);

    List<OwnerVo> getOwnerNameAndId();
Integer selectOwner(Integer id);
}
